package com.qzsf.backend.service;

import com.qzsf.backend.common.Result;
import com.qzsf.backend.dto.ParticipationCreateDTO;

import java.util.List;

/*
 * @Author: Dennis Chen
 * @CreateTime: 2024/11/25 15:12 周一
 * @Email 1429278462@qq.com
 * @Remark 用户活动参与情况服务层接口类
 * @Version 1.0
 */
public interface ParticipationService {
    Result getParticipationByCondition(String userName,String eventName,int pageNo,int pageSize);

    Result getUsersWithIncompleteParticipation(int eventId);

    Result addParticipation(List<ParticipationCreateDTO> participationList);

    Result addUnParticipation(List<ParticipationCreateDTO> participationList);

    Result deleteParticipationById(int id);
}
